<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\CommissionDetail
 *
 * @property int $id
 * @property int $user_id 返成接受者
 * @property int $from_user_id 返成贡献者
 * @property string|null $order_num 订单号
 * @property string|null $order_created_at 订单创建时间
 * @property float $pay_amount 实际付款
 * @property string $distribution_nickname 分销商昵称
 * @property string $distribution_level 分销商等级
 * @property int|null $level 等级:1,2,3级
 * @property int $type 类型:1新增，2提现
 * @property float $amount 金额
 * @property string $withdrawal_num 提现单号
 * @property float $rate 佣金比率
 * @property int $status 结算状态：0待结算，1已到账，2已撤销
 * @property string|null $arrival_time 到账时间
 * @property \Illuminate\Support\Carbon|null $deleted_at
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CommissionDetail newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CommissionDetail newQuery()
 * @method static \Illuminate\Database\Query\Builder|\App\CommissionDetail onlyTrashed()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CommissionDetail query()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CommissionDetail whereAmount($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CommissionDetail whereArrivalTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CommissionDetail whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CommissionDetail whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CommissionDetail whereDistributionLevel($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CommissionDetail whereDistributionNickname($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CommissionDetail whereFromUserId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CommissionDetail whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CommissionDetail whereLevel($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CommissionDetail whereOrderCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CommissionDetail whereOrderNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CommissionDetail wherePayAmount($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CommissionDetail whereRate($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CommissionDetail whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CommissionDetail whereType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CommissionDetail whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CommissionDetail whereUserId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\CommissionDetail whereWithdrawalNum($value)
 * @method static \Illuminate\Database\Query\Builder|\App\CommissionDetail withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\CommissionDetail withoutTrashed()
 * @mixin \Eloquent
 */
class CommissionDetail extends Model
{
    //
    use SoftDeletes;
}
